/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo13_三元运算符 {
    public static void main(String[] args) {
/*
        int money = 8000;

        String info = money>3000 ? "土豪！" : "地主！";

        System.out.println(info);*/

        int a = 1000;

        int b = 200;

        int max = a > b ? a : b;

        System.out.println(max);

    }
}
